import 'package:flutter/material.dart';
import 'dart:convert';

class DetailInfoProvide with ChangeNotifier{
  List list = [];

  bool isLeft = true;
  bool isRight = false;

  //tabbar的切换方法

  changeLeftAndRight(String  changeState) {
    if(changeState == 'left') {
      isLeft = true;
      isRight = false;
    } else {
      isLeft = false;
      isRight = true;
    }
  }

}
